JavaScript

A5.ControlBarfocus Method

Syntax

A5.ControlBar.focus(name)

Arguments

namestring

The name of the item to give focus to.

Description

Programmatically focus on an item in the control bar. In the case of an edit item, the item will be put into edit mode.

Example

// assume cbObj is a pointer to an instance of A5.ControlBar
cbObj.focus('search'); // focus on the control bar edit item with the name of "search"